package user

import (
	_ "github.com/go-sql-driver/mysql"
	"github.com/go-xorm/xorm"
)

var engine *xorm.Engine

func db() {
	var err error
	engine, err = xorm.NewEngine("mysql", "root:123321@192.168.33.10/c_user?charset=utf8")
	engine.ShowSQL(true)
	//engine, err := xorm.NewEngine(driverName, dataSourceName)
}
